package cn.jinshengda.Dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class EmployeeDto {
    private String name;
    private String address;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date admissionTime;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date birthday;
    private String abhorrence;
    private String blood;
    private String education;
    private String emergencyContact;
    private String emergencyContactPhone;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date entryTime;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date graduationTime;
    private Double height;
    private String hobby;
    private String maritalStatus;
    private String nameFamily;
    private String numberId;
    private String outlook;
    private String phone;
    private String school;
    private String sex;
    private Integer departmentId;
    private Integer positionId;
    private Integer workTime;

}
